package org.kiwi.job.constant;

/**
 * @email jack.liu.19910921@gmail.com
 * Created by jack on 17/2/19.
 */
public class ScheduleConstant {

    public final static String SCHEDULE_JOB = "schedule_job";

    public final static String CRON_EACH_MINUTE = "0 */1 * * * ?";

    public static final byte JOB_CONCURRENT_TRUE = 1;

    public final static byte JOB_STATUS_DISABLE = 0;

    public final static byte JOB_STATUS_ENABLE = 1;

    public final static byte JOB_EXECUTE_SUCCESS = 1;

    public final static byte JOB_EXECUTE_ERROR = 2;

    public static final String SYSTEM_GROUP = "SystemGroup";

    public static final String REFRESH_JOB_CODE = "refresh_system_task";

    public static final String REFRESH_JOB_DESC = "刷新任务状态";

    public static final String REFRESH_JOB_NAME = "RefreshJob";

    public static final String REFRESH_JOB_METHOD = "doRefresh";

}
